package com.findFish.fish.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 鱼种信息对象 fish_species
 * 
 * @author admin
 * @date 2025-04-01
 */
public class FishSpecies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息ID */
    private Long id;

    /** 种类名称 */
    @Excel(name = "种类名称")
    private String speciesName;

    /** 栖息地 */
    @Excel(name = "栖息地")
    private String habitat;

    /** 生长周期（天） */
    @Excel(name = "生长周期", readConverterExp = "天=")
    private Long growthCycle;

    /** 适宜温度范围 */
    @Excel(name = "适宜温度范围")
    private String temperatureRange;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSpeciesName(String speciesName) 
    {
        this.speciesName = speciesName;
    }

    public String getSpeciesName() 
    {
        return speciesName;
    }

    public void setHabitat(String habitat) 
    {
        this.habitat = habitat;
    }

    public String getHabitat() 
    {
        return habitat;
    }

    public void setGrowthCycle(Long growthCycle) 
    {
        this.growthCycle = growthCycle;
    }

    public Long getGrowthCycle() 
    {
        return growthCycle;
    }

    public void setTemperatureRange(String temperatureRange) 
    {
        this.temperatureRange = temperatureRange;
    }

    public String getTemperatureRange() 
    {
        return temperatureRange;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("speciesName", getSpeciesName())
            .append("habitat", getHabitat())
            .append("growthCycle", getGrowthCycle())
            .append("temperatureRange", getTemperatureRange())
            .append("notes", getNotes())
            .toString();
    }
}
